package com.ruoyi.project.system.grade.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 宿舍分数管理对象 dormitory_grade
 * 
 * @author ruoyi
 * @date 2023-07-05
 */
public class DormitoryGrade extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long iid;

    /** 宿舍id */
    @Excel(name = "宿舍id")
    private Long dormitoryIid;

    /** 分数 */
    @Excel(name = "分数")
    private Long grade;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date getDate;

    public void setIid(Long iid)
    {
        this.iid = iid;
    }

    public Long getIid()
    {
        return iid;
    }
    public void setDormitoryIid(Long dormitoryIid)
    {
        this.dormitoryIid = dormitoryIid;
    }

    public Long getDormitoryIid()
    {
        return dormitoryIid;
    }
    public void setGrade(Long grade)
    {
        this.grade = grade;
    }

    public Long getGrade()
    {
        return grade;
    }
    public void setGetDate(Date getDate)
    {
        this.getDate = getDate;
    }

    public Date getGetDate()
    {
        return getDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iid", getIid())
            .append("dormitoryIid", getDormitoryIid())
            .append("grade", getGrade())
            .append("getDate", getGetDate())
            .toString();
    }
}
